package com.hz.service;

import com.hz.pojo.Recharge;
import com.hz.utils.MassageJsons;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RechargeService {
    /**
     * 111
     * 根据用户id查询用户对应的充值记录
     * @param recharge_user_id      用户open_id
     * @return 返回充值记录的集合
     * @throws Exception
     */
    public abstract List<Recharge> getRechargeList(String recharge_user_id) throws Exception;

    /**
     * 更改充值之后的账户余额
     * @param open_id     充值的账户id
     * @param money        充值的钱
     * @return
     */
    public abstract MassageJsons udpUserBalance(String open_id,Double money);


}
